package po.car;
/**
 * 汽车
 * @author admin
 *
 */
public class Car {
	private int carId;     // 编号
	private String carNo;  // 车牌号
	private CarType carType; //汽车类型
	private boolean deleteFlag;  //删除标记，false没被删除
	public Car() {
		super();
	}
	public Car(int carId, String carNo, CarType carType, boolean deleteFlag) {
		super();
		this.carId = carId;
		this.carNo = carNo;
		this.carType = carType;
		this.deleteFlag = deleteFlag;
	}
	public int getCarId() {
		return carId;
	}
	public void setCarId(int carId) {
		this.carId = carId;
	}
	public String getCarNo() {
		return carNo;
	}
	public void setCarNo(String carNo) {
		this.carNo = carNo;
	}
	public CarType getCarType() {
		return carType;
	}
	public void setCarType(CarType carType) {
		this.carType = carType;
	}
	public boolean isDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(boolean deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	
	
	@Override
	public String toString() {
		return "Car [carId=" + carId + ", carNo=" + carNo + ", carType=" + carType + ", deleteFlag=" + deleteFlag + "]";
	}
	
}
